package org.apache.dolphinscheduler.api.service;

import org.apache.dolphinscheduler.api.page.PageQuery;
import org.apache.dolphinscheduler.api.page.TableDataInfo;
import org.apache.dolphinscheduler.dao.entity.Router;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 路由表 服务类
 * </p>
 *
 * @author denggh
 * @since 2023-02-08
 */
public interface RouterService extends IService<Router> {

    TableDataInfo<Router> selectPageRouterList(Router router, PageQuery pageQuery);

    Router selectRouterById(Long routerId);

    int insertRouter(Router router);

    int updateRouter(Router router);

    int deleteRouterById(Long routerId);
}
